using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;

namespace Domain
{
    [SugarTable("Lwp_CgddItem")]
    public class Lwp_CgddItem
    {
        [Key]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public int OrderId { get; set; }
        public string ItemCode { get; set; } = string.Empty;
        public string ItemName { get; set; } = string.Empty;
        public string Spec { get; set; } = string.Empty;
        public string Unit { get; set; } = string.Empty;
        public string Brand { get; set; } = string.Empty;
        public decimal Quantity { get; set; }
        public decimal TaxRate { get; set; }
        public decimal TaxPrice { get; set; }
        public decimal TaxAmount { get; set; }
        public decimal UntaxedPrice { get; set; }
        public decimal UntaxedAmount { get; set; }
        public DateTime DeliveryDate { get; set; }
        public decimal MainUnitQuantity { get; set; }
        public string Progress { get; set; } = string.Empty;
        public string Remarks { get; set; } = string.Empty;
        public DateTime CreateTime { get; set; }
        public DateTime UpdateTime { get; set; }
    }
} 